package com.twetec.cms.common.constant;

/**
 * @author Administrator
 * @date 2022/2/919:49
 */
public enum CmsSiteTemplatePermissionEnum {
    CREATE("模板-新增模板", "template:create"),
    TEMPLATE_PAGE("模板-模板列表", "template:page-search-list-by-site-id"),
    TEMPLATE_DETAIL("模板-模板详情", "template:get-by-id"),
    UPDATE_BY_ID("模板-编辑模板", "template:update-by-id"),
    SET_USE_BY_ID("模板-设置为默认模板", "template:set-use-by-id"),
    DELETE("模板-删除模板", "template:delete-template-by-templateId"),
    DEVELOP("模板-开发", "template:develop"),
    BATCH_DELETE("模板-批量删除", "template:batch-delete");

    private String value;

    private String name;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    CmsSiteTemplatePermissionEnum(String name, String value) {
        this.value = value;
        this.name = name;
    }
}
